package com.woniu.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;


/**
 * <p>
 * 
 * </p>
 *
 * @author song
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Resumework对象", description="")
public class Resumework implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @TableField("workId")
    private String workId;

    @TableField("resumeId")
    private String resumeId;

    @TableField("sendTime")
    private Date sendTime;

    private String status;

    @TableField(exist = false)
    private Work work;

    @TableField(exist = false)
    private Resume resume;

    public Resumework id(String id)
    {
        this.id = id;
        return this;
    }

    public Resumework workId(String workId)
    {
        this.workId = workId;
        return this;
    }

    public Resumework sendTime(Date sendTime)
    {
        this.sendTime = sendTime;
        return this;
    }

    public Resumework status(String status)
    {
        this.status = status;
        return this;
    }
}
